package com.turnengine.client.local.group.command.gwt;

import com.google.common.annotations.GwtCompatible;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javabi.codebuilder.generated.gwt.IGeneratedRemoteService;
import com.javabi.command.errorcode.gwt.GwtErrorCodeException;
import com.turnengine.client.local.group.bean.IGroup;

/**
 * The Add Child Group Service.
 */
@GwtCompatible
@RemoteServiceRelativePath("AddChildGroupService")
public interface AddChildGroupService extends RemoteService, IGeneratedRemoteService {

	IGroup addChildGroup(long loginId, int instanceId, String name, String parentName, String factionName) throws GwtErrorCodeException;
}
